package Lesson;
//输出1-5和5-1
public class For01 {
    public static void main(String[] args) {
        for(int i = 1; i <= 5; i++){
            System.out.print(i+" ");
        }

        System.out.println();

        for(int i = 10; i > 0; i--){
            System.out.print(i+" ");
        }

        System.out.println();


    }
}
